﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MainPage.aspx.cs" Inherits="Calculator.MainPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:TextBox ID="FirstArgument" runat="server"></asp:TextBox>
        <asp:TextBox ID="SecondArgument" runat="server" Visible="false"></asp:TextBox><br />

        <asp:Button ID="AddButton" runat="server" Text="+" OnClick="PerformAddition" />
        <asp:Button ID="SubstractButton" runat="server" Text="-" OnClick="PerformSubstraction" />
        <asp:Button ID="Multiplication" runat="server" Text="*" OnClick="PerformMultiplication" />
        <asp:Button ID="DivisionButton" runat="server" Text="/" OnClick="PerformDivision" />
        <asp:Button ID="SqrtButton" runat="server" Text="&radic;" OnClick="PerformSqrt" />
        <asp:Button ID="ModButton" runat="server" Text="Mod" OnClick="PerformMod" />
        <asp:Button ID="PerformOperation" runat="server" Text="=" OnClick="PerformCalculation" /><br /><br />

        <asp:ListBox ID="ArgumentsWithOperation" runat="server" Visible="false">
        </asp:ListBox>
    </div>
    </form>
</body>
</html>
